package laba10;

import interfaces.junit.JunitTester;
import junit.framework.JUnit4TestAdapter;
import junit.framework.TestSuite;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;

@RunWith(Suite.class)
@Suite.SuiteClasses({
    TestArrayCollectionImpl.class,
    TestArrayIteratorImpl.class
})
public class JunitTesterImpl implements JunitTester {

    @Override
    public TestSuite suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(TestArrayCollectionImpl.class);
        suite.addTest(new JUnit4TestAdapter(TestArrayIteratorImpl.class));
        return suite;

    }
}

